package com.samphanie.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author ZSY
 * @email 1451691457@qq.com
 */
@Getter
@AllArgsConstructor
public enum MethodType {
    /**
     * 方法类型
     * GET
     * PUT
     * POST
     * DELETE
     * OPTIONS
     */
    GET(false),
    PUT(true),
    POST(true),
    DELETE(false),
    HEAD(false),
    OPTIONS(false);

    private final boolean hasContent;
}
